﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JzSport.Model
{
    /// <summary>
    /// 活动
    /// </summary>
    public class Activity
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 类别编号
        /// </summary>
        public string CategoryCode { get; set; }

        /// <summary>
        /// 位置地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// Location
        /// 城市信息
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// Location
        /// 经度
        /// </summary>
        public double Longitude { get; set; }

        /// <summary>
        /// Location
        /// 纬度
        /// </summary>
        public double Latitude { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime BeginTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 最大参与人数
        /// </summary>
        public int MaxPersonCount { get; set; }

        /// <summary>
        /// 当前参与人数
        /// </summary>
        public int CurrentPersonCount { get; set; }

        /// <summary>
        /// 人均花费
        /// </summary>
        public decimal CostPrePerson { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Descritpion { get; set; }

        /// <summary>
        /// 创建人编号
        /// </summary>
        public int CreatorId { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 是否已经结束
        /// </summary>
        public bool IsFinished { get; set; }
        /// <summary>
        /// 活动类型（用户创建的活动，系统活动）
        /// </summary>
        public int Type { get; set; }
    }
}
